include .env
GOPATH=/Users/liushaobo/dev/work

env:
	@echo ">> set go env $(GOPATH)"
	GOPATH=$(GOPATH)

compile: clean get build

build:
	@echo ">> Building binary..."
	@go build -o $(GOBIN)/$(PROJECTNAME)

dep:
	@echo ">> go install dependencies..."
	@glide install

install:
	@go install

clean:
	@echo "Cleaning build cache"
	@go clean

